﻿
using System;
namespace OF.Model
{
	/// <summary>
	/// Dish:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Dish
	{
		public Dish()
		{}
		#region Model
		private int _id;
		private string _dishname;
		private int? _catid;
		private int? _state;
		private string _describe;
		private string _photo;
		private bool _hashot;
		private bool _hasnew;
		private int? _praisetimes;
		private decimal? _price;
		private int? _ordertimes;
		private DateTime? _addtime;
		private DateTime? _modifytimes;
        private int _sellerid;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string dishname
		{
			set{ _dishname=value;}
			get{return _dishname;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? catid
		{
			set{ _catid=value;}
			get{return _catid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? state
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string describe
		{
			set{ _describe=value;}
			get{return _describe;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string photo
		{
			set{ _photo=value;}
			get{return _photo;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool hashot
		{
			set{ _hashot=value;}
			get{return _hashot;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool hasnew
		{
			set{ _hasnew=value;}
			get{return _hasnew;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? praisetimes
		{
			set{ _praisetimes=value;}
			get{return _praisetimes;}
		}
		/// <summary>
		/// 
		/// </summary>
		public decimal? price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? ordertimes
		{
			set{ _ordertimes=value;}
			get{return _ordertimes;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? modifytimes
		{
			set{ _modifytimes=value;}
			get{return _modifytimes;}
		}
        /// <summary>
        /// 
        /// </summary>
        public int sellerid
        {
            set { _sellerid = value; }
            get { return _sellerid; }
        }
		#endregion Model

	}
}

